package org.example.back.entity.user;

import java.time.LocalDate;
import java.time.LocalTime;
import java.sql.Timestamp;

public class UserSleep {
    private Integer id;
    private Integer userId;
    private LocalDate sleepDate;     // 睡眠日期
    private LocalTime sleepTime;     // 入睡时间
    private LocalTime wakeTime;      // 起床时间
    private String sleepQuality;     // 睡眠质量（如：优秀、良好、一般、差）
    private String sleepFeeling;     // 睡眠感受（如：清醒、疲惫、正常等）
    private String remark;           // 备注
    private Timestamp createdAt;
    private Timestamp updatedAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public LocalDate getSleepDate() {
        return sleepDate;
    }

    public void setSleepDate(LocalDate sleepDate) {
        this.sleepDate = sleepDate;
    }

    public LocalTime getSleepTime() {
        return sleepTime;
    }

    public void setSleepTime(LocalTime sleepTime) {
        this.sleepTime = sleepTime;
    }

    public LocalTime getWakeTime() {
        return wakeTime;
    }

    public void setWakeTime(LocalTime wakeTime) {
        this.wakeTime = wakeTime;
    }

    public String getSleepQuality() {
        return sleepQuality;
    }

    public void setSleepQuality(String sleepQuality) {
        this.sleepQuality = sleepQuality;
    }

    public String getSleepFeeling() {
        return sleepFeeling;
    }

    public void setSleepFeeling(String sleepFeeling) {
        this.sleepFeeling = sleepFeeling;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Timestamp updatedAt) {
        this.updatedAt = updatedAt;
    }
}
